﻿<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
	<meta charset="utf-8" />
    <script src="../0_System_file/js/jquery.min.js"></script>
    <script src="../0_System_file/js/jquery.easyui.min.js"></script>
    <script src="../0_System_file/js/validatebox.js"></script>
    <link href="../0_System_file/themes/default/easyui.css" rel="stylesheet" />
    <link href="../0_System_file/themes/icon.css" rel="stylesheet" />
    <link href="../0_System_file/themes/Site (1).css" rel="stylesheet" />
    <style type="text/css">
        #form2 table tr td {
            text-align: left;
        }
    </style>
</head>
<body>
    <script>
        //检查密码和确认密码是否相同
        $.extend($.fn.validatebox.defaults.rules, {
            equals: {
                validator: function (value, param) {
                    return value == $(param[0]).val();
                },
                message: 'Field do not match.'
            }
        });
    </script>
    <form style="text-align:left; width:400px;">
        <fieldset>
            <legend>会员卡基本信息</legend>
            会员姓名：王雨<br />
            会员等级：普通会员<br />
            登记日期：2015/4/1 0：00：00
        </fieldset>
    </form>
    <div>
        <form style="text-align:left;width:400px;" id="form2">
            <fieldset>
                <legend>换卡信息</legend>
                <table>
                    <tr>
                        <td>请输入此卡密码：</td>
                        <td><input id="Text1" type="text" /></td>
                    </tr>
                    <tr>
                        <td>新会员卡号：</td>
                        <td><input id="Text1" type="text" /></td>
                    </tr>
                    <tr>
                        <td>新会员卡密码：</td>
                        <td><input id="pwd" name="pwd" type="password" class="easyui-validatebox" data-options="required:true" /></td>
                    </tr>
                    <tr>
                        <td>确认密码：</td>
                        <td>
                            <input id="rpwd" name="rpwd" type="password" class="easyui-validatebox"
                                   required="required" validType="equals['#pwd']" />
                        </td>
                    </tr>
                    <tr>
                        <td></td>
                        <td><input id="Button1" type="button" value="换卡" /></td>
                    </tr>
                </table>
            </fieldset>
        </form>
    </div>
</body>
</html>
